<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@include file="../common/tag.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<base href="<%=basePath%>">
<link href="${ctx}/assets/css/bootstrap.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="${ctx}/css/style.css"/>
<script src="${ctx}/assets/js/jquery-1.10.2.js"></script>
<script src="${ctx}/assets/js/bootstrap.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>

<body>
	<body>
	<table border="1" class="table">
		<tr>
			<th>物品名称</th>
			<th>实付款</th>
			<th>议价</th>
			<th>订单状态</th>
			<th>交易操作</th>
		</tr>
		<c:forEach items="${orders}" var="o">
		<tr>
			<td>${o.goodsname}</td>
			<td>${o.truepay}</td>
			<td>${o.bargain}</td>
			<td>${o.orderType}</td>
			<td><a href="">去掉</a></td>
		</tr>
		</c:forEach>

	</table>
		
</body>
	<script type="text/javascript">
		$("table td").css({"width":"800px","height":"50px"})
			$("table th").css({"width":"800px","height":"80px"})
	</script>
</html>